home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-03 / runfix.zip / RUNFIX.TXT < prev   
Text File  |  1991-07-02  |  2KB  |  90 lines

  1.  
  2. RUNFIX - 1.0 - 7/02/91
  3. ----------------------
  4.  
  5. Some sample code and a simple application for Microsoft Visual Basic.
  6.  
  7. By Mike Mezaros
  8. ---------------
  9.  
  10. Released into the Public Domain.
  11.  
  12. Here's your situation: You don't have Program Manager set to "Minimize on
  13. Use," because that is your personal preference. 
  14.  
  15. But did you ever wish that you could set "Minimize on Use" for each
  16. individual application in the Program Manager?  Visual Basic, for example,
  17. can be quite annoying -- it uses an unusual interface (the "floating" menu
  18. bar), and loads on top of the Program Manager... when this happens, the
  19. whole thing just looks awkward, and it is quite annoying.
  20.  
  21. So until Microsoft lets us set "Minimize on Use" for each individual app,
  22. here is a solution.  
  23.  
  24. How to Use
  25. ----------
  26.  
  27. First, place RUNFIX.EXE in your Windows directory or elsewhere in your path.
  28.   
  29. Let's use Visual Basic as an example.  The Command Line for Visual Basic
  30. in it's Program Manager Properties... box should be:
  31.  
  32. C:\VB\VB.EXE 
  33.  
  34. Change this to:
  35.  
  36. RUNFIX C:\VB\VB.EXE
  37.  
  38. Now, click on the "Change Icon" button.
  39.  
  40. The text box should read:
  41.  
  42. RUNFIX.EXE
  43.  
  44. Change this to:
  45.  
  46. C:\VB\VB.EXE
  47.  
  48. Click "View Next," then "Ok," then "Ok," again.
  49.  
  50.  
  51. Source Code
  52. -----------
  53.  
  54. Visual Basic source code is included. It is public domain; use it as you
  55. wish.  Please let me know if you make any major modifications, I'd like to
  56. see it.
  57.  
  58.  
  59. If You Don't Own Visual Basic
  60. -----------------------------
  61.  
  62. This program doesn't require that you own Visual Basic.  It can be used
  63. with any application.  But in order to run it, you need the Visual Basic
  64. run-time file VBRUN100.DLL.  This is widely available.  If you have
  65. access to CompuServe, it is available in the Microsoft Languages Forum
  66. (GO MSLANG) in Library #6 as VBRUN.ZIP.  On GEnie, it is in the IBM PC
  67. RoundTable (IBMPC) as VBRUN100.ZIP.
  68.  
  69.  
  70. Contacting The Author
  71. ---------------------
  72.  
  73. FidoNet FidoMail, Mike Mezaros: Node 1:107/331 
  74. FoReM-Net E-Mail, Mike Mezaros: Node 593 
  75. GEnie via Z*Net Publishing: Z-NET 
  76. CompuServe via Z*Net Publishing: 75300,1642 
  77. InterNet via Z*Net Publishing: 75300,1642@compuserve.com 
  78. Z*Net 24-Hour BBS: (908)-968-8148 
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  HOWEVER, there are some
  88. applications -- such as Visual Basic -- that get on your nerves.  After
  89. launching them, you have to click back to the Pr
  90. to minimize